package shoppingmall.reception.pojo;

/**
 * 实体类 用户订单表(tb_user_order)
 */
public class UserOrder {
    private int id;  //用户订单表主键id
    private String orderReference;  //用户订单编号
    private int userId;  //用户订单对应的用户id
    private String commodityOrderIds;  //用户订单对应的商品订单号字符串集合
    private int commodityOrderCount;  //用户订单中包含商品订单个数
    private Double commodityFee;  //用户订单包含的商品订单总额
    private Double deliveryFee;  //用户订单运费(商品订单运费 * 商品订单数量)
    private Double actualAmount;  //用户订单实际费用(总费用 - 优惠?)
    private String userOrderState;  //用户订单状态(未支付、已支付、。。。)
    private String linkUser;  //用户订单联系人
    private String linkPhone;  //用户订单联系人号码
    private String linkAddress;  //用户订单联系人地址
    private String logisticsInfo;  //用户订单物流信息
    private String orderRemark;  //用户订单备注
    private String createTime;  //用户订单创建时间
    private String updateTime;  //用户订单更新时间

    public UserOrder() {
    }

    public UserOrder(int id, String orderReference, int userId, String commodityOrderIds, int commodityOrderCount, Double commodityFee, Double deliveryFee, Double actualAmount, String userOrderState, String linkUser, String linkPhone, String linkAddress, String logisticsInfo, String orderRemark, String createTime, String updateTime) {
        this.id = id;
        this.orderReference = orderReference;
        this.userId = userId;
        this.commodityOrderIds = commodityOrderIds;
        this.commodityOrderCount = commodityOrderCount;
        this.commodityFee = commodityFee;
        this.deliveryFee = deliveryFee;
        this.actualAmount = actualAmount;
        this.userOrderState = userOrderState;
        this.linkUser = linkUser;
        this.linkPhone = linkPhone;
        this.linkAddress = linkAddress;
        this.logisticsInfo = logisticsInfo;
        this.orderRemark = orderRemark;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderReference() {
        return orderReference;
    }

    public void setOrderReference(String orderReference) {
        this.orderReference = orderReference;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getCommodityOrderIds() {
        return commodityOrderIds;
    }

    public void setCommodityOrderIds(String commodityOrderIds) {
        this.commodityOrderIds = commodityOrderIds;
    }

    public int getCommodityOrderCount() {
        return commodityOrderCount;
    }

    public void setCommodityOrderCount(int commodityOrderCount) {
        this.commodityOrderCount = commodityOrderCount;
    }

    public Double getCommodityFee() {
        return commodityFee;
    }

    public void setCommodityFee(Double commodityFee) {
        this.commodityFee = commodityFee;
    }

    public Double getDeliveryFee() {
        return deliveryFee;
    }

    public void setDeliveryFee(Double deliveryFee) {
        this.deliveryFee = deliveryFee;
    }

    public Double getActualAmount() {
        return actualAmount;
    }

    public void setActualAmount(Double actualAmount) {
        this.actualAmount = actualAmount;
    }

    public String getUserOrderState() {
        return userOrderState;
    }

    public void setUserOrderState(String userOrderState) {
        this.userOrderState = userOrderState;
    }

    public String getLinkUser() {
        return linkUser;
    }

    public void setLinkUser(String linkUser) {
        this.linkUser = linkUser;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLinkAddress() {
        return linkAddress;
    }

    public void setLinkAddress(String linkAddress) {
        this.linkAddress = linkAddress;
    }

    public String getLogisticsInfo() {
        return logisticsInfo;
    }

    public void setLogisticsInfo(String logisticsInfo) {
        this.logisticsInfo = logisticsInfo;
    }

    public String getOrderRemark() {
        return orderRemark;
    }

    public void setOrderRemark(String orderRemark) {
        this.orderRemark = orderRemark;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
